package org.hs.phd.odi.tracking.tracker.kernel;

public class UniformKernel extends AbstractKernel{

	public UniformKernel(){
	}
	
	@Override
	public float value(float normalizedDistanceSquared) {
		return (normalizedDistanceSquared > 1) ? 0 : 0.5F;
	}

	@Override
	public float derivative(float normalizedDistanceSquared) {
		return 0;
	}
}
